package yin.com.service;

import yin.com.model.User;

import java.util.Map;

public interface Userserver {

    User findUserByNameAndPwd(String username);

   Map<String,Object> finduserByID(Integer userId);

    User findUserEmail(String email);

    void adduser(String email, String username, String password);

    User findUserByEmail(String email);

    void resetPass(Integer id, String password);
}
